package cn.edu.sjtu.se.dslab.service;

import cn.edu.sjtu.se.dslab.action.bean.PageBean;
import cn.edu.sjtu.se.dslab.component.aadl.AADLModel;
import cn.edu.sjtu.se.dslab.exception.DBException;

public interface IAADLModelService {
	public boolean addAADLModel(AADLModel aadlModel);

	public AADLModel getAADLModelById(long id);

	public AADLModel getAADLModelByUri(String uri);

	public boolean updateAADLModel(AADLModel aadlModel);

	public PageBean<AADLModel> getPageBean(int pageNo) throws DBException;
}
